package com.example.logintest.service.impl;

import com.example.logintest.bean.User;
import com.example.logintest.dao.AddUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service(value = "Adduser")
public class AddUserimpl implements AddUser {
    @SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
    @Autowired
    AddUser addUser;
    @Override
    public int addUser(User user) {
        return addUser.addUser(user);
    }
}
